Part Number Hot Search : 
1N4007LG C102S SR50150P 020D2 S9015 7P1FZ400 T4401 1N4245GP
Product Description
Full Text Search
 

To Download MC33912BAC Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Freescale Semiconductor Advance Information
Document Number: MC33912 Rev. 4.0, 2/2008
LIN System Basis Chip with DC Motor Pre-driver and Current Sense
The 33912 is a Serial Peripheral Interface (SPI) -controlled System Basis Chip (SBC), combining many frequently used functions in an MCU-based system, plus a Local Interconnect Network (LIN) transceiver. The 33912 has a 5.0V - 60mA low dropout regulator with full protection and reporting features. The device provides full SPIreadable diagnostics and a selectable timing watchdog for detecting errant operation. The LIN Protocol Specification 2.0 compliant LIN transceiver has waveshaping circuitry that can be disabled for higher data rates. Two 60mA high side switches and two 160mA low side switches with output protection are available for driving resistive and inductive loads. All outputs can be pulse-width modulated (PWM). Four high voltage inputs are available for use in contact monitoring, or as external wake-up inputs. These inputs can be used as high voltage Analog Inputs. The voltage on these pins is divided by a selectable ratio and available via an analog multiplexer. The 33912 has three main operating modes: Normal (all functions available), Sleep (VDD off, wake-up via LIN, wake-up inputs (L1-L4), cyclic sense and forced wake-up), and Stop (VDD on with limited current capability, wake-up via CS, LIN bus, wake-up inputs, cyclic sense, forced wake-up and external reset). The 33912 is compatible with LIN Protocol Specification 2.0. Features * * * * * * * * *
33912
SYSTEM BASIS CHIP WITH LIN 2ND GENERATION
AC SUFFIX (Pb-FREE) 98ASH70029A 32-PIN LQFP
ORDERING INFORMATION
Device Temperature Range (TA) - 40C to 125C 32-LQFP -40C to 85C Package
Full-duplex SPI interface at frequencies up to 4MHz LIN transceiver capable of up to 100kbps with wave shaping MC33912BAC/R2 Two 60mA high side and two 160mA low side protected switches MC34912BAC/R2 Four high voltage analog/logic Inputs Configurable window watchdog 5.0V low drop regulator with fault detection and low voltage reset (LVR) circuitry Current sense module Switched/protected 5.0V output (used for Hall sensors) Pb-free packaging designated by suffix code AC
VBAT
33912
VS1 VS2 VSENSE HS1 L1 L2 L3 L4
LIN INTERFACE
LIN VDD PWMIN ADOUT0 ADOUT1 MOSI MISO SCLK CS RXD TXD IRQ RST
LS1
M
MCU
LS2 ISENSEH ISENSEL HVDD HS2 WDCONF
Figure 1. 33912 Simplified Application Diagram
* This document contains certain information on a new product. Specifications and information herein are subject to change without notice.
(c) Freescale Semiconductor, Inc., 2007. All rights reserved.
LGND PGND AGND
INTERNAL BLOCK DIAGRAM
INTERNAL BLOCK DIAGRAM
RST IRQ VS2 VS1 VDD
INTERNAL BUS
INTERRUPT CONTROL MODULE LVI, HVI, HTI, OCI
AGND VOLTAGE REGULATOR
RESET CONTROL MODULE LVR, HVR, HTR, WD
5V OUTPUT MODULE
HVDD
LS1 WINDOW WATCHDOG MODULE PWMIN VS2 MISO MOSI SCLK CS ADOUT0 HIGH SIDE CONTROL MODULE SPI & CONTROL ANALOG MULTIPLEXER VBAT SENSE MODULE CHIP TEMPERATURE SENSE MODULE L1 ANALOG INPUT MODULE L2 L3 RXD TXD DIGITAL INPUT MODULE LOW SIDE CONTROL MODULE LS2 PGND
VS2
HS1
HS2 VSENSE
WAKE-UP MODULE
LIN PHYSICAL LAYER
L4
LIN
ISENSEH CURRENT SENSE MODULE ISENSEL
LGND
WDCONF
ADOUT1
Figure 2. 33912 Simplified Internal Block Diagram
33912
2
Analog Integrated Circuit Device Data Freescale Semiconductor
PIN CONNECTIONS
PIN CONNECTIONS
AGND HVDD VDD VSENSE NC HS1 25 VS1 27 VS2 26
29
31
30
RXD TXD MISO MOSI SCLK CS ADOUT0 PWMIN
1 2 3 4 5 6 7 8
28
32
24 23 22 21 20 19 18 17
HS2 L1 L2 L3 L4 LS1 PGND LS2
10 IRQ
11
12
13
14
15
16
ISENSEL
RST
WDCONF
Figure 3. 33912 Pin Connections Table 1. 33912 Pin Definitions A functional description of each pin can be found in the Functional Pin Description section beginning on page 21.
Pin 1 2 3 4 5 6 7 8 9 10 11 Pin Name RXD TXD MISO MOSI SCLK CS ADOUT0 PWMIN RST IRQ ADOUT1 Formal Name Receiver Output Transmitter Input SPI Output SPI Input SPI Clock SPI Chip Select Analog Output Pin 0 PWM Input Internal Reset I/O Internal Interrupt Output Analog Output Pin 1 Definition This pin is the receiver output of the LIN interface which reports the state of the bus voltage to the MCU interface. This pin is the transmitter input of the LIN interface which controls the state of the bus output. SPI (Serial Peripheral Interface) data output. When CS is high, pin is in the high-impedance state. SPI (Serial Peripheral Interface) data input. SPI (Serial Peripheral Interface) clock Input. SPI (Serial Peripheral Interface) chip select input pin. CS is active low. Analog Multiplexer Output. High Side and Low Side Pulse Width Modulation Input. Bidirectional Reset I/O pin - driven low when any internal reset source is asserted. RST is active low. Interrupt output pin, indicating wake-up events from Stop Mode or events from Normal and Normal request modes. IRQ is active low. Current sense analog output.
ISENSEH
ADOUT1
LIN
LGND
9
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
3
PIN CONNECTIONS
Table 1. 33912 Pin Definitions A functional description of each pin can be found in the Functional Pin Description section beginning on page 21.
Pin 12 13 14 15 16 17 19 18 20 21 22 23 24 25 26 27 29 30 31 32 Pin Name WDCONF LIN LGND ISENSEL ISENSEH LS2 LS1 PGND L4 L3 L2 L1 HS2 HS1 VS2 VS1 VSENSE HVDD VDD AGND High Side Outputs High side switch outputs. These pins are device battery level power supply pins.VS2 is supplying the HSx drivers while VS1 supplies the remaining blocks.(2) Battery voltage sense input.(3) +5.0V switchable supply output pin.(4) +5.0V main voltage regulator output pin.(5) This pin is the device analog ground connection. Wake-Up Inputs These pins are the wake-up capable digital inputs(1). In addition, all Lx inputs can be sensed analog via the analog multiplexer. Formal Name Watchdog Configuration Pin LIN Bus LIN Ground Pin Definition This input pin is for configuration of the watchdog period and allows the disabling of the watchdog. This pin represents the single-wire bus transmitter and receiver. This pin is the device LIN ground connection. It is internally connected to the PGND pin. Current Sense differential inputs.
Current Sense Pins
Low Side Outputs
Relay drivers low side outputs. This pin is the device low side ground connection. It is internally connected to the LGND pin.
Power Ground Pin
Power Supply Pin Voltage Sense Pin Hall Sensor Supply Output Voltage Regulator Output Analog Ground Pin
Notes 1. When used as digital input, a series 33k resistor must be used to protect against automotive transients. 2. Reverse battery protection series diodes must be used externally to protect the internal circuitry. 3. This pin can be connected directly to the battery line for voltage measurements. The pin is self protected against reverse battery connections. It is strongly recommended to connect a 10k resistor in series with this pin for protection purposes. 4. External capacitor (1F < C < 10F; 0.1 < ESR < 5) required. 5. External capacitor (2F < C < 100F; 0.1 < ESR < 10) required.
33912
4
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS
ELECTRICAL CHARACTERISTICS
MAXIMUM RATINGS
Table 2. Maximum Ratings All voltages are with respect to ground unless otherwise noted. Exceeding these ratings may cause a malfunction or permanent damage to the device.
Ratings ELECTRICAL RATINGS Supply Voltage at VS1 and VS2 Normal Operation (DC) Transient Conditions (load dump) Supply Voltage at VDD Input / Output Pins Voltage
(6)
Symbol
Value
Unit
V VSUP(SS) VSUP(PK) VDD VIN VIN(IRQ) VHS VLS VLxDC VLxTR VISENSE VVSENSE VBUSDC VBUSTR IVDD VESD1-1 VESD1-2 VESD2 VESD3-1 VESD3-2 -0.3 to 27 -0.3 to 40 -0.3 to 5.5 -0.3 to VDD +0.3 -0.3 to 11 - 0.3 to VSUP +0.3 -0.3 to 45 -18 to 40 100 V V V V V
CS, RST, SCLK, PWMIN, ADOUT0, ADOUT1, MOSI, MISO, TXD, RXD, HVDD Interrupt Pin (IRQ)(7) HS1 and HS2 Pin Voltage (DC) LS1 and LS2 Pin Voltage (DC) L1, L2, L3 and L4 Pin Voltage Normal Operation with a series 33k resistor (DC) Transient input voltage with external component (according to ISO7637-2) (See Figure 5, page 17) ISENSEH and ISENSEL Pin Voltage (DC) VSENSE Pin Voltage (DC) LIN Pin Voltage Normal Operation (DC) Transient input voltage with external component (according to ISO7637-2) (See Figure 4, page 17) VDD output current ESD Voltage(8) Human Body Model - LIN Pin Human Body Model - all other Pins Machine Model Charge Device Model Corner Pins (Pins 1, 8, 9, 16, 17, 24, 25 and 32) All other Pins (Pins 2-7, 10-15, 18-23, 26-31)
-0.3 to 40 -27 to 40 -18 to 40 -150 to 100
V V V
Internally Limited 8000 2000 200 750 500
A V
Notes 6. Exceeding voltage limits on specified pins may cause a malfunction or permanent damage to the device. 7. Extended voltage range for programming purpose only. 8. Testing is performed in accordance with the Human Body Model (CZAP = 100pF, RZAP = 1500), Machine Model (CZAP = 200pF, RZAP = 0) and the Charge Device Model, Robotic (CZAP = 4.0pF).
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
5
ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS
Table 2. Maximum Ratings (continued) All voltages are with respect to ground unless otherwise noted. Exceeding these ratings may cause a malfunction or permanent damage to the device.
Ratings THERMAL RATINGS Operating Ambient Temperature (9) 33912 34912 Operating Junction Temperature Storage Temperature Thermal Resistance, Junction to Ambient Natural Convection, Single Layer board (1s)(10), (11) Natural Convection, Four Layer board (2s2p)(10), (12) Thermal Resistance, Junction to Case
(13)
Symbol
Value
Unit
TA -40 to 125 -40 to 85 TJ TSTG RJA 85 56 RJC Reflow(14), (15) TPPRT 23 Note 15 -40 to 150 -55 to 150
C
C C C/W
C/W C
Peak Package Reflow Temperature During
Notes 9. The limiting factor is junction temperature; taking into account the power dissipation, thermal resistance, and heat sinking. 10. 11. 12. 13. 14. 15. Junction temperature is a function of on-chip power dissipation, package thermal resistance, mounting site (board) temperature, ambient temperature, air flow, power dissipation of other components on the board, and board thermal resistance. Per JEDEC JESD51-2 with the single layer board (JESD51-3) horizontal. Per JEDEC JESD51-6 with the board (JESD51-7) horizontal. Thermal resistance between the die and the case top surface as measured by the cold plate method (MIL SPEC-883 Method 1012.1). Pin soldering temperature limit is for 10 seconds maximum duration. Not designed for immersion soldering. Exceeding these limits may cause malfunction or permanent damage to the device. Freescale's Package Reflow capability meets Pb-free requirements for JEDEC standard J-STD-020C. For Peak Package Reflow Temperature and Moisture Sensitivity Levels (MSL), Go to www.freescale.com, search by part number [e.g. remove prefixes/suffixes and enter the core ID to view all orderable parts. (i.e. MC33xxxD enter 33xxx), and review parametrics.
33912
6
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 3. Static Electrical Characteristics Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic SUPPLY VOLTAGE RANGE (VS1, VS2) Nominal Operating Voltage Functional Operating Voltage(16) Load Dump SUPPLY CURRENT RANGE (VSUP = 13.5V) Normal Mode (IOUT at VDD = 10mA), LIN Recessive State(17) Stop Mode, VDD ON with IOUT = 100A, LIN Recessive State 5.5V < VSUP < 12V VSUP = 13.5V Sleep Mode, VDD OFF, LIN Recessive 5.5V < VSUP < 12V 12V VSUP < 13.5V Cyclic Sense Supply Current Adder(20) ICYCLIC State(17), (19) ISLEEP - - - 27 37 10 35 48 - A
(17), (18), (19)
Symbol
Min
Typ
Max
Unit
VSUP VSUPOP VSUPLD
5.5 - -
- - -
18 27 40
V V V
IRUN ISTOP
-
4.5
10
mA A
- -
48 58
80 90 A
SUPPLY UNDER/OVER VOLTAGE DETECTIONS Power-On Reset (BATFAIL)(21) Threshold (measured on VS1)
(20)
V VBATFAIL VBATFAIL_HYS 1.5 - 3.0 0.9 3.9 -
Hysteresis (measured on VS1)(20) Vsup under voltage detection (VSUV Flag) (Normal and Normal Request Modes, Interrupt Generated) Threshold (measured on VS1) Hysteresis (measured on VS1) Vsup over voltage detection (VSOV Flag) (Normal and Normal Request Modes, Interrupt Generated) Threshold (measured on VS1) Hysteresis (measured on VS1)
V VSUV VSUV_HYS 5.55 - 6.0 1.0 6.6 -
VSOV VSOV_HYS
V 18 - 19.25 1.0 20.5 -
Notes 16. Device is fully functional. All features are operating. 17. Total current (IVS1 + IVS2) measured at GND pins excluding all loads, cyclic sense disabled. 18. 19. 20. 21. Total IDD current (including loads) below 100A. Stop and Sleep Modes current will increase if VSUP exceeds13.5V. This parameter is guaranteed by process monitoring but not production tested. The Flag is set during power up sequence. To clear the flag, a SPI read must be performed.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
7
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 3. Static Electrical Characteristics (continued) Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic VOLTAGE REGULATOR
(22)
Symbol
Min
Typ
Max
Unit
(VDD) VDDRUN 4.75 IVDDRUN VDDDROP - VDDSTOP 4.75 IVDDSTOP LRRUN LRSTOP 6.0 5.0 12 5.25 36 mA mV - - 20 5.0 25 25 mV LDRUN LDSTOP TPRE 110 TPRE_HYS TSD TSD_HYS - 155 - 125 10 170 10 140 - 185 - C C C - - 15 10 80 50 C 0.1 0.25 V 60 5.00 110 5.25 200 mA V V
Normal Mode Output Voltage 1.0mA < IVDD < 50mA; 5.5V < VSUP < 27V Normal Mode Output Current Limitation Dropout Voltage(23) IVDD = 50mA Stop Mode Output Voltage IVDD < 5mA Stop Mode Output Current Limitation Line Regulation Normal Mode, 5.5V < VSUP < 18V; IVDD = 10mA Stop Mode, 5.5V < VSUP < 18V; IVDD = 1.0mA Load Regulation Normal Mode, 1.0mA < IVDD < 50mA Stop Mode, 0.1mA < IVDD < 5mA Over-temperature Prewarning (Junction)(24)
Interrupt generated, VDDOT Bit Set Over-temperature Prewarning Hysteresis(24) Over-temperature Shutdown Temperature Over-temperature Shutdown Hysteresis (Junction)(24)
(24)
HALL SENSOR SUPPLY OUTPUT(25) (HVDD) VDD Voltage matching HVDDACC = (HVDD-VDD) / VDD * 100% IHVDD = 15mA Current Limitation Dropout Voltage IHVDD = 15mA; IVDD = 5mA Line Regulation IHVDD = 5mA; IVDD = 5mA Load Regulation 1mA > IHVDD > 15mA; IVDD = 5mA Notes 22. Specification with external capacitor 2F < C < 100F and 100m ESR 10. 23. Measured when voltage has dropped 250mV below its nominal Value (5V). 24. This parameter is guaranteed by process monitoring but not production tested. 25. Specification with external capacitor 1F < C < 10F and 100m ESR 10. LDHVDD - 10 20 LRHVDD - 25 40 mV IHVDD HVDDDROP - 160 300 mV HVDDACC -2.0 20 - 30 2.0 50 mA mV %
33912
8
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 3. Static Electrical Characteristics (continued) Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic RST INPUT/OUTPUT PIN (RST) VDD Low Voltage Reset Threshold Low-state Output Voltage IOUT = 1.5mA; 3.5V VSUP 27V High-state Output Current (0 < VOUT < 3.5V) Pull-down Current Limitation (internally limited) VOUT = VDD Low-state Input Voltage High-state Input Voltage MISO SPI OUTPUT PIN (MISO) Low-state Output Voltage IOUT = 1.5mA High-state Output Voltage IOUT = -250A Tri-state Leakage Current 0V VMISO VDD SPI INPUT PINS (MOSI, SCLK, CS) Low-state Input Voltage High-state Input Voltage MOSI, SCLK Input Current 0V VIN VDD CS Pull-up Current 0V < VIN < 3.5V INTERRUPT OUTPUT PIN (IRQ) Low-state Output Voltage IOUT = 1.5mA High-state Output Voltage IOUT = -250A Leakage Current VDD VOUT 10V PULSE WIDTH MODULATION INPUT PIN (PWMIN) Low-state Input Voltage High-state Input Voltage Pull-up current 0V < VIN < 3.5V VIL VIH IPUPWMIN 10 20 30 -0.3 0.7 x VDD - - 0.3 x VDD VDD +0.3 V V A VOH - - 2.0 VOH VDD -0.8 - VDD mA VOL 0.0 - 0.8 V V IPUCS 10 20 30 VIL VIH IIN -10 - 10 A -0.3 0.7 x VDD - - 0.3 x VDD VDD +0.3 V V A ITRIMISO -10 - 10 VOH VDD -0.9 - VDD A VOL 0.0 - 1.0 V V VIL VIH IOH IPD_MAX 1.5 -0.3 0.7 x VDD - - - 8.0 0.3 x VDD VDD +0.3 V V VRSTTH VOL 0.0 -150 - -250 0.9 -350 A mA 4.3 4.5 4.7 V V Symbol Min Typ Max Unit
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
9
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 3. Static Electrical Characteristics (continued) Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic HIGH SIDE OUTPUTS HS1 AND HS2 PINS (HS1, HS2) Output Drain-to-Source On Resistance TJ = 25C, ILOAD = 50mA; VSUP > 9.0V TJ = 150C, ILOAD = 50mA; VSUP > 9.0V(26) TJ = 150C, ILOAD = 30mA; 5.5V < VSUP < 9.0V(26) Output Current Limitation(27) 0V < VOUT < VSUP - 2.0V Open Load Current Detection Leakage Current -0.2V < VHSX < VS2 + 0.2V Short-circuit Detection Threshold(29) 5.5V < VSUP < 27V Over-temperature Shutdown(30), (35) Over-temperature Shutdown Hysteresis(35) THSSD THSSD_HYS VTHSC VSUP -2.0 150 - - 165 10 - 180 - C C
(28)
Symbol
Min
Typ
Max
Unit
RDS(ON) - - - ILIMHSX 60 IOLHSX ILEAK - - 10 - 120 5.0 250 7.5 - - - 7.0 10 14
mA
mA A
V
LOW SIDE OUTPUTS LS1 AND LS2 PINS (LS1, LS2) Output Drain-to-Source On Resistance TJ = 25C, ILOAD = 150mA, VSUP > 9.0V TJ = 125C, ILOAD = 150mA, VSUP > 9.0V TJ = 125C, ILOAD = 120mA, 5.5V < VSUP < 9.0V Output Current Limitation(31) 2.0V < VOUT < VSUP Open Load Current Detection(32) Leakage Current -0.2V < VOUT < VS1 Active Output Energy Clamp IOUT = 150mA Short-circuit Detection Threshold(33) 5.5V < VSUP < 27V Over-temperature Shutdown(34), (35) Over-temperature Shutdown Hysteresis
(35)
RDS(ON) - - - ILIMLSX 160 IOLLSX ILEAK - VCLAMP VSUP +2.0 VTHSC 2.0 TLSSD TLSSD_HYS 150 - - 165 10 - 180 - - VSUP +5.0 - 10 - 275 8.0 350 12 - - - 2.5 4.5 10
mA
mA A
V
V
C C
Notes 26. This parameter is production tested up to TA = 125C and guaranteed by process monitoring up to TJ = 150C.. 27. 28. 29. 30. 31. 32. 33. 34. 35. 33912 When over-current occurs, the corresponding high side stays ON with limited current capability and the HSxCL flag is set in the HSSR. When open load occurs, the flag (HSxOP) is set in the HSSR. When short-circuit occurs and if HVSE flag is enabled, both HS automatic shutdown. When over-temperature shutdown occurs, both high sides are turned off. All flags in HSSR are set. When over-current occurs, the corresponding low side stays ON with limited current capability and the LSxCL flag is set in the LSSR. When open load occurs, the flag (LSxOP) is set in the LSSR. When short-circuit occurs and if HVSE Flag is enabled, both LS automatic shutdown When over-temperature shutdown occurs, both low sides are turned off. All flags in LSSR are set. Guaranteed by characterization but not production tested
10
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 3. Static Electrical Characteristics (continued) Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic L1, L2, L3 AND L4 INPUT PINS (L1, L2, L3, L4) Low Detection Threshold 5.5V < VSUP < 27V High Detection Threshold 5.5V < VSUP < 27V Hysteresis 5.5V < VSUP < 27V Input Current(36) -0.2V < VIN < VS1 Analog Input Impedance(37) Analog Input Divider Ratio (RATIOLx = VLx / VADOUT0) LXDS (Lx Divider Select) = 0 LXDS (Lx Divider Select) = 1 Analog Output offset Ratio LXDS (Lx Divider Select) = 0 LXDS (Lx Divider Select) = 1 Analog Inputs Matching LXDS (Lx Divider Select) = 0 LXDS (Lx Divider Select) = 1 WINDOW WATCHDOG CONFIGURATION PIN (WDCONF) External Resistor Range Watchdog Period Accuracy with External Resistor (Excluding Resistor Accuracy)(38) ANALOG MULTIPLEXER Internal Chip Temperature Sense Gain VSENSE Input Divider Ratio (RATIOVSENSE = VVSENSE / VADOUT0) 5.5V < VSUP < 27V VSENSE Output Related Offset -40C < TA < -20C ANALOG OUTPUTS (ADOUT0 AND ADOUT1) Maximum Output Voltage -5mA < IO < 5mA Minimum Output Voltage -5mA < IO < 5mA VOUT_MIN 0.0 - 0.35 VOUT_MAX VDD -0.35 - VDD V V OFFSETVSENSE STTOV RATIOVSENSE 5.0 -30 -45 5.25 - - 5.5 30 45 mV - 10.5 - mV/K REXT WDACC 20 -15 - - 200 15 k % LXMATCHING 96 96 100 100 104 104 VRATIOLxOFFSET
Symbol
Min
Typ
Max
Unit
VTHL 2.0 VTHH 3.0 VHYS 0.5 IIN -10 RLXIN RATIOLX 0.95 3.42 1.0 3.6 1.05 3.78 800 - 1550 10 - 1.0 1.5 3.5 4.0 2.5 3.0
V
V
V
A
k
mV -80 -22 0.0 0.0 80 22 %
Notes 36. Analog multiplexer input disconnected from Lx input pin. 37. Analog multiplexer input connected to Lx input pin. 38. Watchdog timing period calculation formula: tPWD [ms] = 0.466 * (REXT - 20) + 10 (REXT in k)
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
11
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 3. Static Electrical Characteristics (continued) Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic CURRENT SENSE AMPLIFIER (ISENSEH, ISENSEL) Gain CSGS (Current Sense Gain Select) = 0 CSGS (Current Sense Gain Select) = 1 Differential Input Impedance CSGS (Current Sense Gain Select) = 0 CSGS (Current Sense Gain Select) = 1 Common Mode Input Impedance CSGS (Current Sense Gain Select) = 0 CSGS (Current Sense Gain Select) = 1 ISENSEH, ISENSEL Input Voltage Range Input Offset Voltage CSAZ (Current Sense Auto Zero) = 0 CSAZ (Current Sense Auto Zero) = 1 RXD OUTPUT PIN (LIN PHYSICAL LAYER) (RXD) Low-state Output Voltage IOUT = 1.5mA High-state Output Voltage IOUT = -250A TXD INPUT PIN (LIN PHYSICAL LAYER) (TXD) Low-state Input Voltage High-state Input Voltage Pin Pull-up Current, 0V < VIN < 3.5V VIL VIH IPUIN -0.3 0.7 x VDD 10 - - 20 0.3 x VDD VDD +0.3 30 V V A VOH VDD -0.8 - VDD VOL 0.0 - 0.8 V V VIN VIN_OFFSET -15 -2.0 - - 15 2.0 CM 75 75 -0.2 - - - 300 300 3.0 V mV DIFF 2.0 5.0 10 20 30 50 k G 29 14 30 14.5 31 15 k Symbol Min Typ Max Unit
33912
12
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 3. Static Electrical Characteristics (continued) Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic LIN PHYSICAL LAYER, TRANSCEIVER (LIN) Output Current Limitation Dominant State, VBUS = 18V Leakage Output Current to GND Dominant State; VBUS = 0V; VBAT = 12V Recessive State; 8V < VBAT < 18V; 8V < VBUS < 18V; VBUS VBAT GND Disconnected; GNDDEVICE = VSUP; VBAT = 12V; 0 < VBUS < 18V VBAT Disconnected; VSUP_DEVICE = GND; 0 < VBUS < 18V Receiver Input Voltages Receiver Dominant State Receiver Recessive State Receiver Threshold Center (VTH_DOM + VTH_REC)/2 Receiver Threshold Hysteresis (VTH_REC - VTH_DOM) LIN Transceiver Output Voltage Recessive State, TXD HIGH, IOUT = 1.0A Dominant State, TXD LOW, 500 External Pull-up Resistor, LDVS = 0 Dominant State, TXD LOW, 500 External Pull-up Resistor, LDVS = 1 LIN Pull-up Resistor to VSUP Over-temperature Shutdown(40) Over-temperature Shutdown Hysteresis Notes 39. Parameters guaranteed for 7.0V VSUP 18V. 40. When over-temperature shutdown occurs, the LIN bus goes in recessive state and the flag LINOT in LINSR is set. VLIN_REC VLIN_DOM_0 VLIN_DOM_1 RSLAVE TLINSD TLINSD_HYS VSUP -1.0 - - 20 150 - - 1.1 1.7 30 165 10 - 1.4 2 60 180 - k C C VBUSDOM VBUSREC VBUS_CNT VHYS - 0.6 0.475 - - - 0.5 - 0.4 - 0.525 0.175 V IBUS_PAS_dom IBUS_PAS_REC IBUS_NO_GND IBUS -1.0 - -1.0 - - - - - - 20 1.0 100 mA A mA A VSUP
(39)
Symbol
Min
Typ
Max
Unit
IBUSLIM 40 120 200
mA
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
13
ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
Table 4. Dynamic Electrical Characteristics Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic SPI INTERFACE TIMING (SEE Figure 13, PAGE 20) SPI Operating Frequency SCLK Clock Period SCLK Clock High Time(41) SCLK Clock Low Time(41) Falling Edge of CS to Rising Edge of SCLK(41) Falling Edge of SCLK to CS Rising Edge(41) MOSI to Falling Edge of SCLK(41) Falling Edge of SCLK to MOSI(41) MISO Rise Time(41) CL = 220pF MISO Fall Time(41) CL = 220pF Time from Falling or Rising Edges of - MISO Low-impedance - MISO High-impedance Time from Rising Edge of SCLK to MISO Data Valid(41) 0.2 x VDD MISO 0.8 x VDD, CL = 100pF RST OUTPUT PIN Reset Low-level Duration After VDD High (see Figure 12, page 20) Reset Deglitch Filter Time WINDOW WATCHDOG CONFIGURATION PIN (WDCONF) Watchdog Time Period(42) External Resistor REXT = 20k (1%) External Resistor REXT = 200k (1%) Without External Resistor REXT (WDCONF Pin Open) CURRENT SENSE AMPLIFIER(41) Common Mode Rejection Ratio Supply Voltage Rejection Ratio Gain Bandwidth Product Output Slew-Rate
(43)
Symbol
Min
Typ
Max
Unit
f SPIOP tPSCLK tWSCLKH tWSCLKL tLEAD tLAG tSISU tSIH tRSO
- 250 110 110 100 100 40 40
- - - - - - - -
4.0 N/A N/A N/A N/A N/A N/A N/A
MHz ns ns ns ns ns ns ns ns
- tFSO -
CS to:(41)
40
- ns
40
- ns
tSOEN tSODIS tVALID
0.0 0.0
- -
50 50 ns
0.0
-
75
t RST t RSTDF
0.65 350
1.0 600
1.35 900
ms ns
t PWD 8.5 79 110 10 94 150 11.5 108 205
ms
CMR SVR GBP SR
70 60 0.75 0.5
- - 3.0 -
- - - -
dB dB MHz V/s
Notes 41. This parameter is guaranteed by process monitoring but not production tested. 42. Watchdog timing period calculation formula: tPWD [ms] = 0.466 * (REXT - 20) + 10 (REXT in k) 43. Analog Outputs are supplied by VDD
33912
14
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS
Table 4. Dynamic Electrical Characteristics (continued) Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic L1, L2, L3 AND L4 INPUTS Wake-up Filter Time STATE MACHINE TIMING Delay Between CS LOW-to-HIGH Transition (at End of SPI Stop Command) and Stop Mode Activation(44) Normal Request Mode Timeout (see Figure 12, page 20) Delay Between SPI Command and HS /LS Turn On(45) 9V < VSUP < 27V Delay Between SPI Command and HS /LS Turn Off(45) 9V < VSUP < 27V Delay Between Normal Request and Normal Mode After a Watchdog Trigger Command (Normal Request Mode)(44) Delay Between CS Wake-Up (CS LOW to HIGH) in Stop Mode and: Normal Request Mode, VDD ON and RST HIGH First Accepted SPI Command Minimum Time Between Rising and Falling Edge on the CS t S-OFF - - 10 s - - 15 -- -- 10 s 80 N/A -- s t WUF 8.0 20 38 s Symbol Min Typ Max Unit
t STOP
- t NR TOUT t S-ON - - 10 110 - 150 5.0 205
s ms s
s
t SNR2N
t WUCS t WUSPI t 2CS
9.0 90 4.0
LIN PHYSICAL LAYER: DRIVER CHARACTERISTICS FOR NORMAL SLEW RATE - 20.0KBIT/SEC(46), (47) Duty Cycle 1: D1 = tBUS_REC(MIN)/(2 x tBIT), tBIT = 50s 7.0V VSUP 18V Duty Cycle 2: D2 = tBUS_REC(MAX)/(2 x tBIT), tBIT = 50s 7.6V VSUP 18V LIN PHYSICAL LAYER: DRIVER CHARACTERISTICS FOR SLOW SLEW RATE Duty Cycle 3: D3 = tBUS_REC(MIN)/(2 x tBIT), tBIT = 96s 7.0V VSUP 18V Duty Cycle 4: D4 = tBUS_REC(MAX)/(2 x tBIT), tBIT = 96s 7.6V VSUP 18V
D1
0.396
D2
--
--
-- 10.4KBIT/SEC(46), (48)
D3
--
0.581
s 0.417 -- -- s -- -- 0.590
D4
Notes 44. This parameter is guaranteed by process monitoring but not production tested. 45. Delay between turn on or off command (rising edge on CS) and HS or LS ON or OFF, excluding rise or fall time due to external load. 46. Bus load RBUS and CBUS 1.0nF / 1.0 k, 6.8 nF / 660, 10nF / 500. Measurement thresholds: 50% of TXD signal to LIN signal threshold defined at each parameter. See Figure 6, page 18. 47. See Figure 7, page 18. 48. See Figure 8, page 18.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
15
ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS
Table 4. Dynamic Electrical Characteristics (continued) Characteristics noted under conditions 5.5V VSUP 18V, -40C TA 125C for the 33912 and -40C TA 85C for the 34912, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25C under nominal conditions, unless otherwise noted.
Characteristic Symbol Min Typ Max Unit
LIN PHYSICAL LAYER: DRIVER CHARACTERISTICS FOR FAST SLEW RATE LIN Fast Slew Rate (Programming Mode) LIN PHYSICAL LAYER: CHARACTERISTICS AND WAKE-UP TIMINGS Propagation Delay and Symmetry(50) Propagation Delay Receiver, tREC_PD=MAX (tREC_PDR, tREC_PDF) Symmetry of Receiver Propagation Delay tREC_PDF - tREC_PDR Bus Wake-Up Deglitcher (Sleep and Stop Bus Wake-Up Event Reported From Sleep Mode
(52) (49)
SRFAST
--
20
--
V / s
s
t REC_PD t REC_SYM t PROPWL t WAKE t WAKE t TXDDOM
-- - 2.0 42
3.0 -- 70
6.0 2.0 95 s s
Modes)(51)
-- 9.0 0.65
-- 13 1.0
1500 17 1.35 s
From Stop Mode(53) TXD Permanent Dominant State Delay PULSE WIDTH MODULATION INPUT PIN (PWMIN) PWMIN pin(54) Max. frequency to drive HS and LS output pins
fPWMIN 10
kHz
Notes 49. VSUP from 7.0V to 18V, bus load RBUS and CBUS 1.0nF / 1.0k, 6.8nF / 660, 10nF / 500. Measurement thresholds: 50% of TXD signal to LIN signal threshold defined at each parameter. See Figure 6, page 18. 50. See Figure 9, page 19 51. See Figure 10, page 19 for Sleep and Figure 11, page 19 for Stop Mode. 52. The measurement is done with 1F capacitor and 0mA current load on VDD. The value takes into account the delay to charge the capacitor. The delay is measured between the bus wake-up threshold (VBUSWU) rising edge of the LIN bus and when VDD reaches 3.0V. See Figure 10, page 19. The delay depends of the load and capacitor on VDD. 53. 54. In Stop Mode, the delay is measured between the bus wake-up threshold (VBUSWU) and the falling edge of the IRQ pin. See Figure 11, page 19. This parameter is guaranteed by process monitoring but not production tested.
33912
16
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS TIMING DIAGRAMS
TIMING DIAGRAMS
33912
1.0nF TRANSIENT PULSE GENERATOR
LIN
(NOTE)
GND
PGND LGND
AGND
Note Waveform per ISO 7637-2. Test Pulses 1, 2, 3a, 3b.
Figure 4. Test Circuit for Transient Test Pulses (LIN) 33912
1.0 nF L1, L2, L3, L4 10 k PGND LGND AGND Transient Pulse Generator (Note) GND
Note Waveform per ISO 7637-2. Test Pulses 1, 2, 3a, 3b,.
Figure 5. Test Circuit for Transient Test Pulses (Lx)
VSUP
R0 TXD RXD C0 LIN R0 AND C0 COMBINATIONS: * 1.0K and 1.0nF * 660 and 6.8nF * 500 and 10nF
Figure 6. Test Circuit for LIN Timing Measurements
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
17
ELECTRICAL CHARACTERISTICS TIMING DIAGRAMS
TXD tBIT tBIT
VLIN_REC
tBUS_DOM (MAX) tREC - MAX tDOM - MIN
tBUS_REC (MIN) tDOM - MIN 74.4% VSUP 60.0% VSUP 58.1% VSUP 40.0% VSUP 28.4% VSUP 42.2% VSUP
LIN
58.1% VSUP 40.0% VSUP 28.4% VSUP tREC - MIN
tDOM - MAX RXD
tBUS_DOM (MIN) tBUS_REC (MAX)
tRDOM
tRREC
Figure 7. LIN Timing Measurements for Normal Slew Rate
TXD tBIT tBIT
VLIN_REC
tBUS_DOM (MAX) tREC - MAX tDOM - MIN
tBUS_REC (MIN) tDOM - MIN 77.8% VSUP 60.0% VSUP 61.6% VSUP 40.0% VSUP 25.1% VSUP 38.9% VSUP
LIN
61.6% VSUP 40.0% VSUP 25.1% VSUP tREC - MIN
tDOM - MAX RXD
tBUS_DOM (MIN) tBUS_REC (MAX)
tRDOM
tRREC
Figure 8. LIN Timing Measurements for Slow Slew Rate
33912
18
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS TIMING DIAGRAMS
VLIN_REC VBUSREC VBUSDOM LIN BUS SIGNAL
VSUP
RXD
tRX_PDF
tRX_PDR
Figure 9. LIN Receiver Timing
VLIN_REC
LIN 0.4 VSUP DOMINANT LEVEL
VDD tPROPWL tWAKE
Figure 10. LIN Wake-Up Sleep Mode Timing
Vrec VLIN_REC
LIN
0.4VSUP 0.4 VSUP
Dominant level Dominant Level
IRQ
t PROPWL TpropWL
t WAKE Twake
Figure 11. LIN Wake-up Stop Mode Timing
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
19
ELECTRICAL CHARACTERISTICS TIMING DIAGRAMS
VSUP
VDD
RST
tRST
tNRTOUT
Figure 12. Power On Reset and Normal Request Timeout Timing
tPSCLK CS tLEAD SCLK tWSCLKL tSISU tSIH tWSCLKH tLAG
MOSI
UNDEFINED tVALID tSOEN
D0
DON'T CARE
D7
DON'T CARE
tSODIS
MISO
D0
DON'T CARE
D7
Figure 13. SPI Timing Characteristics
33912
20
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DESCRIPTION INTRODUCTION
FUNCTIONAL DESCRIPTION
INTRODUCTION
The 33912 was designed and developed as a highly integrated and cost-effective solution for automotive and industrial applications. For automotive body electronics, the 33912 is well suited to perform relay control in applications like window lift, sunroof, etc. via LIN bus. Power switches are provided on the device configured as high side and low side outputs. Other ports are also provided, which include a current and voltage sense port, a Hall Sensor port supply, and four wake-up capable pins. An internal voltage regulator provides power to a MCU device. Also included in this device is a LIN physical layer, which communicates using a single wire. This enables this device to be compatible with 3-wire bus systems, where one wire is used for communication, one for battery, and one for ground.
FUNCTIONAL PIN DESCRIPTION
See Figure 1, 33912 Simplified Application Diagram, page 1, for a graphic representation of the various pins referred to in the following paragraphs. Also, see the pin diagram on page 3 for a description of the pin locations in the package.
MASTER IN SLAVE OUT PIN (MISO)
The MISO pin sends data to an SPI-enabled MCU. It is a digital tri-state output used to shift serial data to the microcontroller. Data on this output pin changes on the negative edge of the SCLK. When CS is High, this pin will remain in high-impedance state.
RECEIVER OUTPUT PIN (RXD)
The RXD pin is a digital output. It is the receiver output of the LIN interface and reports the state of the bus voltage: RXD Low when LIN bus is dominant, RXD High when LIN bus is recessive.
CHIP SELECT PIN (CS)
CS is an active low digital input. It must remain low during a valid SPI communication and allow for several devices to be connected in the same SPI bus without contention. A rising edge on CS signals the end of the transmission and the moment the data shifted in is latched. A valid transmission must consist of 8 bits only. While in STOP Mode, a low-to-high level transition on this pin will generate a wake-up condition for the 33912.
TRANSMITTER INPUT PIN (TXD)
The TXD pin is a digital input. It is the transmitter input of the LIN interface and controls the state of the bus output (dominant when TXD is Low, recessive when TXD is High). This pin has an internal pull-up to force recessive state in case the input is left floating.
ANALOG MULTIPLEXER PIN (ADOUT0)
The ADOUT0 pin can be configured via the SPI to allow the MCU A/D converter to read the several inputs of the Analog Multiplexer, including the VSENSE, L1, L2, L3, L4 input voltages, and the internal junction temperature.
LIN BUS PIN (LIN)
The LIN pin represents the single-wire bus transmitter and receiver. It is suited for automotive bus systems and is compliant to the LIN bus specification 2.0. The LIN interface is only active during Normal and Normal Request Modes.
CURRENT SENSE AMPLIFIER PIN (ADOUT1)
The ADOUT1 pin is an analog interface to the MCU A/D converter. It allows the MCU to read the output of the current sense amplifier.
SERIAL DATA CLOCK PIN (SCLK)
The SCLK pin is the SPI clock input pin. MISO data changes on the negative transition of the SCLK. MOSI is sampled on the positive edge of the SCLK.
PWM INPUT CONTROL PIN (PWMIN)
This digital input can control the high sides and low sides drivers in Normal Request- and Normal Mode. To enable PWM control, the MCU must perform a write operation to the High Side Control Register (HSCR) or the Low Side Control Register (LSCR). This pin has an internal 20A current pull-up.
MASTER OUT SLAVE IN PIN (MOSI)
The MOSI digital pin receives SPI data from the MCU. This data input is sampled on the positive edge of SCLK.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
21
FUNCTIONAL DESCRIPTION FUNCTIONAL PIN DESCRIPTION
RESET PIN (RST)
This bidirectional pin is used to reset the MCU in case the 33912 detects a reset condition, or to inform the 33912 that the MCU has just been reset. After release of the RST pin, Normal Request Mode is entered. The RST pin is an active low filtered input and output formed by a weak pull-up and a switchable pull-down structure which allows this pin to be shorted either to VDD or to GND during software development, without the risk of destroying the driver.
voltage on this pin, it can raise above the battery level when switched off. The switches are controlled through the SPI and can be configured to respond to a signal applied to the PWMIN input pin. Both low side switches are protected against overheating.
DIGITAL/ANALOG PINS (L1, L2, L3 AND L4)
The Lx pins are multi purpose inputs. They can be used as digital inputs, which can be sampled by reading the SPI and used for wake-up when 33912 is in low power mode or used as analog inputs for the analog multiplexer. When used to sense voltage outside the module, a 33kohms series resistor must be used on each input. When used as wake-up inputs L1-L4 can be configured to operate in cyclic-sense mode. In this mode one of the high side switches is configured to be periodically turned on and sample the wake-up inputs. If a state change is detected between two cycles a wake-up is initiated. The 33912 can also wake-up from Stop or Sleep by a simple state change on L1-L4. When used as analog inputs, the voltage present on the Lx pins is scaled down by an selectable internal voltage divider and can be routed to the ADOUT0 output through the analog multiplexer. Note: If an Lx input is selected in the analog multiplexer, it will be disabled as a digital input and remains disabled in low power mode. No wake-up feature is available in that condition. When an Lx input is not selected in the analog multiplexer, the voltage divider is disconnected from that input.
INTERRUPT PIN (IRQ)
The IRQ pin is a digital output used to signal events or faults to the MCU while in Normal and Normal Request Mode or to signal a wake-up from Stop Mode. This active low output will transition to high only after the interrupt is acknowledged by a SPI read of the respective status bits.
WATCHDOG CONFIGURATION PIN (WDCONF)
The WDCONF pin is the configuration pin for the internal watchdog. A resistor can be connected to this pin to configure the window watchdog period. When connected directly to ground, the watchdog will be disabled. When this pin is left open, the watchdog period is fixed to its lower precision internal default value (150ms typical).
GROUND CONNECTION PINS (AGND, PGND, LGND)
The AGND, PGND and LGND pins are the Analog and Power ground pins. The AGND pin is the ground reference of the voltage regulator and the current sense module. The PGND and LGND pins are used for high current load return as in the relay-drivers and LIN interface pin. Note: PGND, AGND and LGND pins must be connected together.
HIGH SIDE OUTPUT PINS (HS1 AND HS2)
These two high side switches are able to drive loads such as relays or lamps. Their structures are connected to the VS2 supply pin. The pins are short-circuit protected and both outputs are also protected against overheating. HS1 and HS2 are controlled by SPI and can respond to a signal applied to the PWMIN input pin. HS1 and HS2 outputs can also be used during low-power mode for the cyclic-sense of the wake inputs.
CURRENT SENSE AMPLIFIER INPUT PINS (ISENSEH AND ISENSEL)
The ISENSEH and ISENSEL pins are the input pins of a ground compatible differential amplifier designed to be used to sense the voltage drop over a shunt resistor. The main purpose of this amplifier is to implement accurate current sensors. The gain of the differential amplifier can be set by SPI.
POWER SUPPLY PINS (VS1 AND VS2)
Those are the battery level voltage supply pins. In an application, VS1 and VS2 pins must be protected against reverse battery connection and negative transient voltages with external components. These pins sustain standard automotive voltage conditions such as a load dump at 40V. The high side switches (HS1 and HS2) are supplied by the VS2 pin. All other internal blocks are supplied by VS1 pin.
LOW SIDE PINS (LS1 AND LS2)
LS1 and LS2 are the low side driver outputs. Those outputs are short-circuit protected and include active clamp circuitry to drive inductive loads. Due to the energy clamp
33912
22
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DESCRIPTION FUNCTIONAL PIN DESCRIPTION
VOLTAGE SENSE PIN (VSENSE)
This input can be connected directly to the battery line. It is protected against battery reverse connection. The voltage present in this input is scaled down by an internal voltage divider, and can be routed to the ADOUT0 output pin and used by the MCU to read the battery voltage. The ESD structure on this pin allows for excursion up to +40V and down to -27V, allowing this pin to be connected directly to the battery line. It is strongly recommended to connect a 10kohm resistor in series with this pin for protection purposes.
The HVDD pin needs to be connected to an external capacitor to stabilize the regulated output voltage.
+5V MAIN REGULATOR OUTPUT PIN (VDD)
An external capacitor has to be placed on the VDD pin to stabilize the regulated output voltage. The VDD pin is intended to supply a microcontroller. The pin is current limited against shorts to GND and over-temperature protected. During Stop Mode, the voltage regulator does not operate with its full drive capabilities and the output current is limited. During Sleep Mode, the regulator output is completely shut down.
HALL SENSOR SWITCHABLE SUPPLY PIN (HVDD)
This pin provides a switchable supply for external hall sensors. While in Normal Mode, this current limited output can be controlled through the SPI.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
23
FUNCTIONAL DESCRIPTION FUNCTIONAL INTERNAL BLOCK DESCRIPTION
FUNCTIONAL INTERNAL BLOCK DESCRIPTION
MC33912 - Functional Block Diagram Integrated Supply Hall Sensor Supply Voltage Regulator HVDD VDD Analog Circuitry Wake-Up Window Watchdog High Side Drivers HS1 - HS2 Low Side Drivers LS1 - LS2 LIN Physical Layer Interface
Digital / Analog Input Voltage, Current & Temperature Sense
MCU Interface and Output Control SPI Interface LIN Interface / Control Reset & IRQ Logic LS/HS - PWM Control
Analog Output 0/1
Integrated Supply Analog Circuitry MCU Interface and Output Control Drivers
Figure 14. Functional Internal Block Diagram
ANALOG CIRCUITRY
The 33912 is designed to operate under automotive operating conditions. A fully configurable window watchdog circuit will reset the connected MCU in case of an overflow. Two low power modes are available with several different wake-up sources to reactivate the device. Four analog / digital inputs can be sensed or used as the wake-up source. The device is capable of sensing the supply voltage (VSENSE), the internal chip temperature (CTEMP) as well as the motor current using an external sense resistor.
MCU INTERFACE
The 33912 is providing its control and status information through a standard 8-Bit SPI interface. Critical system events such as Low- or High-voltage/Temperature conditions as well as over-current conditions in any of the driver stages can be reported to the connected MCU via IRQ or RST. Both Low Side and both High Side driver outputs can be controlled via the SPI register as well as the PWMIN input. The integrated LIN physical layer interface can be configured via SPI register and its communication is driven through the RXD and TXD device pins. All internal analog sources are multiplexed to the ADOUT 0 pin. The current sense analog signal is directly routed through ADOUT1.
HIGH SIDE DRIVERS
Two current and temperature protected High Side drivers with PWM capability are provided to drive small loads such as Status LED's or small lamps. Both Drivers can be configured for periodic sense during low power modes.
VOLTAGE REGULATOR OUTPUTS
Two independent voltage regulators are implemented on the 33912. The VDD main regulator output is designed to supply a MCU with a precise 5V. The switchable HVDD output is dedicated to supply small peripherals as hall sensors.
LOW SIDE DRIVERS
Two current and temperature protected Low Side drivers with PWM capability are provided to drive H-Bridge type relays for power motor applications
LIN PHYSICAL LAYER INTERFACE
The 33912 provides a LIN 2.0 compatible LIN physical layer interface with selectable slew rate and various diagnostic features.
33912
24
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
FUNCTIONAL DEVICE OPERATIONS
OPERATIONAL MODES Introduction
The 33912 offers three main operating modes: Normal (Run), Stop, and Sleep (Low Power). In Normal Mode, the device is active and is operating under normal application conditions. The Stop and Sleep Modes are low-power modes with wake-up capabilities. In Stop Mode, the voltage regulator still supplies the MCU with VDD (limited current capability), while in Sleep Mode the voltage regulator is turned off (VDD = 0 V). Wake-up from Stop Mode is initiated by a wake-up interrupt. Wake-up from Sleep Mode is done by a reset and the voltage regulator is turned back on. The selection of the different modes is controlled by the MOD1:2 bits in the Mode Control Register (MCR). Figure 15 describes how transitions are done between the different operating modes. Table 5, 27, gives an overview of the operating modes. RESET MODE The 33912 enters the Reset Mode after a power up. In this mode, the RST pin is low for 1ms (typical value). After this delay, it enters the Normal Request Mode and the RST pin is driven high. The Reset Mode is entered if a reset condition occurs (VDD low, watchdog trigger fail, after wake-up from Sleep Mode, Normal Request Mode timeout occurs). NORMAL REQUEST MODE This is a temporary mode automatically accessed by the device after the Reset Mode, or after a wake-up from Stop Mode. In Normal Request Mode, the VDD regulator is ON, the RESET pin is High, and the LIN is operating in RX Only Mode. As soon as the device enters in the Normal Request Mode an internal timer is started for 150ms (typical value). During these 150ms, the MCU must configure the Timing Control Register (TIMCR) and the Mode Control Register (MCR) with MOD2 and MOD1 bits set = 0, to enter the Normal Mode. If within the 150ms timeout, the MCU does not command the 33912 to Normal Mode, it will enter in Reset Mode. If the WDCONF pin is grounded in order to disable the watchdog function, it goes directly in Normal Mode after the Reset Mode. If the WDCONF pin is open, the 33912 stays typically for 150ms in Normal Request before entering in Normal Mode. NORMAL MODE In Normal Mode, all 33912 functions are active and can be controlled by the SPI interface and the PWMIN pin. The VDD regulator is ON and delivers its full current capability. If an external resistor is connected between the WDCONF pin and the Ground, the window watchdog function will be enabled. The wake-up inputs (L1-L4) can be read as digital inputs or have its voltage routed through the analog-multiplexer. The LIN interface has slew rate and timing compatible with the LIN protocol specification 2.0. The LIN bus can transmit and receive information. The high side and low side switches are active and have PWM capability according to the SPI configuration. The interrupts are generated to report failures for VSUP over/under -voltage, thermal shutdown, or thermal shutdown prewarning on the main regulator. SLEEP MODE The Sleep Mode is a low power mode. From Normal Mode, the device enters into Sleep Mode by sending one SPI command through the Mode Control Register (MCR). All blocks are in their lowest power consumption condition. Only some wake-up sources (wake-up inputs with or without cyclic sense, forced wake-up and LIN receiver) are active. The 5V regulator is OFF. The internal low-power oscillator may be active if the IC is configured for cyclic-sense. In this condition, one of the high side switches is turned on periodically and the wake-up inputs are sampled. Wake-up from Sleep Mode is similar to a power-up. The device goes in Reset Mode except that the SPI will report the wake-up source and the BATFAIL flag is not set. STOP MODE The Stop Mode is the second low power mode, but in this case the 5V regulator is ON with limited current drive capability. The application MCU is always supplied while the 33912 is operating in Stop Mode. The device can enter into Stop Mode only by sending the SPI command. When the application is in this mode, it can wake-up from the 33912 side (for example: cyclic sense, force wake-up, LIN bus, wake inputs) or the MCU side (CS, RST pins). Wake-up from Stop Mode will transition the 33912 to Normal Request Mode and generates an interrupt except if the wake-up event is a low to high transition on the CS pin or comes from the RST pin.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
25
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
Normal Request Time-out Expired (t NRTOUT) Normal Request timeout expired (NRTOUT) VDD Low VDD Low VDD High and
Power Down
Power Up
Reset
Reset Delay (t RST) Expired VDD High and Reset Delay (tRST) expired
Normal Request
WDdisabled WD Disabled WD Trigger WD trigger
VDDLow Low V
DD
WD Failed WD failed
Normal
Stop Command STOP Command
VDDLow (>NRTOUT) expired) Expired VDD LOW (>t NRTOUT and VSUV = 0 and VSUV = 0
Sleep Command SLEEP Command
Wake-Up (Reset) Wake-Up (Reset)
Sleep
Stop
VDD Low VDD Low
Legend WD: Watchdog Notes: WD Disabled: Watchdog disabled (WDCONF pin connected to GND) WD - means Watchdog WD Trigger: Watchdog is triggered by SPI command WD Failed:WD disabled - trigger or trigger occurs in closed window No watchdog means Watchdog disabled (WDCONF terminal connected to GND) WD trigger - means Watchdog is triggered by SPI command Stop Command: Stop command sent via SPI WD failed - means no Watchdog trigger or trigger occurs in closed window Sleep Command: Sleep command sent via SPI STOP Command - means STOP command sent via SPI Wake-Up from Stop Mode: L1, L2, L3 or L4 state change, LIN bus wake-up, Periodic wake-up, CS rising edge wake-up or RST wake-up. SLEEP Command - means SLEEP command LIN via SPI Wake-Up from Sleep Mode: L1, L2, L3 or L4 state change,sendbus wake-up, Periodic wake-up. Wake-Up - means L1 or L2 state change or LIN bus wake up or SS rising edge
Figure 15. Operating Modes and Transitions
33912
26
Analog Integrated Circuit Device Data Freescale Semiconductor
Wake-Up (Interrupt) Wake-Up Interrupt
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
Table 5. Operating Modes Overview
Function VDD HVDD LSx HSx Analog Mux Lx Current Sense LIN Watchdog VSENSE Notes 55. 56. 57. 58. 59. Reset Mode Normal Request Mode Full On On Full SPI
(55)
Normal Mode Full SPI SPI/PWM SPI/PWM SPI Inputs On
Stop Mode Stop Note(57) Wake-up -
Sleep Mode
-
Note(58) Wake-up Wake-up -
SPI/PWM(56) SPI/PWM(56) SPI Inputs On Rx-Only 150ms (typ.) timeout On
Full/Rx-Only Rx-Only/Wake-up On(59)/Off On VDD
Operation can be enabled/controlled by the SPI. Operation can be controlled by the PWMIN input. HSx switches can be configured for cyclic sense operation in Stop Mode. HSx switches can be configured for cyclic sense operation in Sleep Mode. Windowing operation when enabled by an external resistor.
INTERRUPTS
Interrupts are used to signal a microcontroller that a peripheral needs to be serviced. The interrupts which can be generated, change according to the operating mode. While in Normal and Normal Request Modes, the 33912 signals through interrupts special conditions which may require a MCU software action. Interrupts are not generated until all pending wake-up sources are read in the Interrupt Source Register (ISR). While in Stop Mode, interrupts are used to signal wake-up events. Sleep Mode does not use interrupts. Wake-up is performed by powering-up the MCU. In Normal and Normal Request Mode the wake-up source can be read by SPI. The interrupts are signaled to the MCU by a low logic level of the IRQ pin, which will remain low until the interrupt is acknowledged by a SPI read. The IRQ pin will then be driven high. Interrupts are only asserted while in Normal, Normal Request and Stop Mode. Interrupts are not generated while the RST pin is low. The following is a list of the interrupt sources in Normal and Normal Request Modes. Some of these can be masked by writing to the SPI - Interrupt Mask Register (IMR). Low-voltage Interrupt: Signals when the supply line (VS1) voltage drops below the VSUV threshold (VSUV).
High-voltage Interrupt: Signals when the supply line (VS1) voltage increases above the VSOV threshold (VSOV). Over-temperature Prewarning: Signals when the 33912 temperature has reached the preshutdown warning threshold. It is used to warn the MCU that an over-temperature shutdown in the main 5V regulator is imminent. LIN Over-current Shutdown / Over-temperature Shutdown / TXD Stuck At Dominant / RXD Short-circuit: These signal fault conditions within the LIN interface will cause the LIN driver to be disabled, except for the LIN overcurrent condition. In order to restart operation, the fault must be removed and must be acknowledged by reading the SPI. The LINOC bit functionality in the LIN Status Register (LINSR) is to indicate an LIN over-current has occurred and the driver remains enabled. High Side Over-temperature Shutdown: Signals a shutdown in the high side outputs. Low Side Over-temperature Shutdown: Signals a shutdown in the low side outputs.
RESET
To reset a MCU the 33912 drives the RST pin low for the time the reset condition lasts.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
27
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
After the reset source is removed, the state machine will drive the RST output low for at least 1ms (typical value) before driving it high. In the 33912, four main reset sources exist: 5V Regulator Low-voltage-Reset (VRSTTH) The 5V regulator output VDD is continuously monitored against brown outs. If the supply monitor detects that the voltage at the VDD pin has dropped below the reset threshold VRSTTH the 33912 will issue a reset. In case of overtemperature, the voltage regulator will be disabled and the voltage monitoring will issue a VDDOT Flag independently of the VDD voltage. Window Watchdog Overflow If the watchdog counter is not properly serviced while its window is open, the 33912 will detect an MCU software runaway and will reset the microcontroller. Wake-up From Sleep Mode During Sleep Mode, the 5V regulator is not active, hence all wake-up requests from Sleep Mode require a power-up/ reset sequence. External Reset The 33912 has a bidirectional reset pin which drives the device to a safe state (same as Reset Mode) for as long as this pin is held low. The RST pin must be held low long enough to pass the internal glitch filter and get recognized by the internal reset circuit. This functionality is also active in Stop Mode. After the RST pin is released, there is no extra t RST to be considered.
In order to select and activate direct wake-up from Lx inputs, the Wake-up Control Register (WUCR) must be configured with appropriate LxWE inputs enabled or disabled. The wake-up input's state is read through the Wake-up Status Register (WUSR). Lx inputs are also used to perform cyclic-sense wake-up. Note: Selecting an Lx input in the analog multiplexer before entering low power mode will disable the wake-up capability of the Lx input Wake-up from Wake-up inputs (L1-L4) with cyclic sense timer enabled The SBCLIN can wake-up at the end of a cyclic sense period if on one of the four wake-up input lines (L1-L4) a state change occurs. The HSx switch is activated in Sleep or Stop Modes from an internal timer. Cyclic sense and force wakeup are exclusive. If cyclic sense is enabled, the force wakeup can not be enabled. In order to select and activate the cyclic sense wake-up from Lx inputs, before entering in low power modes (Stop or Sleep Modes), the following SPI set-up has to be performed: In WUCR: select the Lx input to WU-enable. In HSCR: enable the desired HSx. * In TIMCR: select the CS/WD bit and determine the cyclic sense period with CYSTx bits. * Perform Goto Sleep/Stop command. Forced Wake-up The 33912 can wake-up automatically after a predetermined time spent in Sleep or Stop Mode. Cyclic sense and Forced wake-up are exclusive. If Forced wake-up is enabled, the Cyclic Sense can not be enabled. To determine the wake-up period, the following SPI set-up has to be sent before entering in low power modes: * In TIMCR: select the CS/WD bit and determine the low power mode period with CYSTx bits. * In HSCR: all HSx bits must be disabled. CS Wake-up While in Stop Mode, a rising edge on the CS will cause a wake-up. The CS wake-up does not generate an interrupt, and is not reported on SPI. LIN Wake-up While in the low-power mode, the 33912 monitors the activity on the LIN bus. A dominant pulse larger than t PROPWL followed by a dominant to recessive transition will cause a LIN wake-up. This behavior protects the system from a short to ground bus condition.
WAKE-UP CAPABILITIES
Once entered into one of the low-power modes (Sleep or Stop) only wake-up sources can bring the device into Normal Mode operation. In Stop Mode, a wake-up is signaled to the MCU as an interrupt, while in Sleep Mode the wake-up is performed by activating the 5V regulator and resetting the MCU. In both cases the MCU can detect the wake-up source by accessing the SPI registers. There is no specific SPI register bit to signal a CS wake-up or external reset. If necessary this condition is detected by excluding all other possible wake-up sources. Wake-up from Wake-up inputs (L1-L4) with cyclic sense disabled The wake-up lines are dedicated to sense state changes of external switches and wake-up the MCU (in Sleep or Stop Mode).
33912
28
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
RST Wake-up While in Stop Mode, the 33912 can wake-up when the RST pin is held low long enough to pass the internal glitch filter. Then, the 33912 will change to Normal Request or Normal Modes depending on the WDCONF pin configuration. The RST wake-up does not generate an interrupt and is not reported via SPI. From Stop Mode, the following wake-up events can be configured: * Wake-up from Lx inputs without cyclic sense * Cyclic sense wake-up inputs * Force wake-up * CS wake-up * LIN wake-up * RST wake-up From Sleep Mode, the following wake-up events can be configured: * Wake-up from Lx inputs without cyclic sense * Cyclic sense wake-up inputs * Force wake-up * LIN wake-up
To disable the watchdog function in Normal Mode the user must connect the WDCONF pin to ground. This measure effectively disables Normal Request Mode. The WDOFF bit in the Watchdog Status Register (WDSR) will be set. This condition is only detected during Reset Mode. If neither a resistor nor a connection to ground is detected, the watchdog falls back to the internal lower precision timebase of 150ms (typ.) and signals the faulty condition through the Watchdog Status Register (WDSR). The watchdog timebase can be further divided by a prescaler which can be configured by the Timing Control Register (TIMCR). During Normal Request Mode, the window watchdog is not active but there is a 150ms (typ.) timeout for leaving the Normal Request Mode. In case of a timeout, the 33912 will enter into Reset Mode, resetting the microcontroller before entering again into Normal Request Mode.
HIGH SIDE OUTPUT PINS HS1 AND HS2
These outputs are two high side drivers intended to drive small resistive loads or LEDs incorporating the following features: * PWM capability (software maskable) * Open load detection * Current limitation * Over-temperature shutdown (with maskable interrupt) * High-voltage shutdown (software maskable) * Cyclic sense The high side switches are controlled by the bits HS1:2 in the High Side Control Register (HSCR). PWM Capability (direct access) Each high side driver offers additional (to the SPI control) direct control via the PWMIN pin. If both the bits HS1 and PWMHS1 are set in the High Side Control Register (HSCR), then the HS1 driver is turned on if the PWMIN pin is high and turned of if the PWMIN pin is low. This applies to HS2 configuring HS2 and PWMHS2 bits.
WINDOW WATCHDOG
The 33912 includes a configurable window watchdog which is active in Normal Mode. The watchdog can be configured by an external resistor connected to the WDCONF pin. The resistor is used to achieve higher precision in the timebase used for the watchdog. SPI clears are performed by writing through the SPI in the MOD bits of the Mode Control Register (MCR). During the first half of the SPI timeout, watchdog clears are not allowed, but after the first half of the SPI timeout window, the clear operation opens. If a clear operation is performed outside the window, the 33912 will reset the MCU, in the same way as when the watchdog overflows.
WINDOW CLOSED NO WATCHDOG CLEAR ALLOWED WINDOW OPEN FOR WATCHDOG CLEAR
WD TIMING X 50%
WD TIMING X 50%
WD PERIOD (tPWD) WD TIMING SELECTED BY REGISTER ON WDCONF PIN
Figure 16. Window Watchdog Operation
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
29
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
HVSE
Interrupt Control Module
High Voltage Shutdown High-Side Interrupt
VDD VDD
PWMIN
PWMHSx
VS2
MOD1:2
on/off
High Side - Driver
charge pump open load detection current limitation overtemperture shutdown (interrupt maskable) high voltage shutdown (maskable) HSx
HSx
Control
HSxOP HSxCL
Status
Wakeup Module
Cyclic Sense
Figure 17. High Side Drivers HS1 and HS2 Open Load Detection Each high side driver signals an open load condition if the current through the high side is below the open load current threshold. The open load condition is indicated with the bits HS1OP and HS2OP in the High Side Status Register (HSSR). Current Limitation Each high side driver has an output current limitation. In combination with the over-temperature shutdown the highside drivers are protected against over-current and shortcircuit failures. When the driver operates in the current limitation area, it is indicated with the bits HS1CL and HS2CL in the HSSR. Note: If the driver is operating in current limitation mode, excessive power might be dissipated. Over-temperature Protection (HS Interrupt) Both high side drivers are protected against overtemperature. In case of an over-temperature condition both high side drivers are shut down and the event is latched in the Sleep And Stop Mode The high side drivers can be enabled to operate in Sleep and Stop Mode for cyclic sensing. Also see Table 5, Operating Modes Overview. Interrupt Control Module. The shutdown is indicated as HS Interrupt in the Interrupt Source Register (ISR). A thermal shutdown of the high side drivers is indicated by setting all HSxOP and HSxCL bits simultaneously. If the bit HSM is set in the Interrupt Mask Register (IMR), then an interrupt (IRQ) is generated. A write to the High Side Control Register (HSCR), when the over-temperature condition is gone, will re-enable the high side drivers. High-voltage Shutdown In case of a high voltage condition and if the high voltage shutdown is enabled (bit HVSE in the Mode Control Register (MCR) is set) both high side drivers are shut down. A write to the High Side Control Register (HSCR), when the high voltage condition is gone, will re-enable the high side drivers.
33912
30
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
LOW SIDE OUTPUT PINS LS1 AND LS2
These outputs are two low side drivers intended to drive relays incorporating the following features: * PWM capability (software maskable) * Open load detection * Current limitation * Over-temperature shutdown (with maskable interrupt) * Active clamp (for driving relays) * High-voltage shutdown (software maskable) The low side switches are controlled by the bit LS1:2 in the Low Side Control Register (LSCR).
To protect the device against over-voltage when an inductive load (relay) is turned off. An active clamp will reenable the low side FET if the voltage on the LS1 or LS2 pin exceeds a certain level. PWM Capability (direct access) Each low side driver offers additional (to the SPI control) direct control via the PWMIN pin. If both the bits LS1 and PWMLS1 are set in the Low Side Control Register (LSCR), then the LS1 driver is turned on if the PWMIN pin is high and turned off if the PWMIN pin is low. The same applies to the LS2 and PWMLS2 bits for the LS2 driver.
VDD VDD
HVSE
Interrupt Control Module
High-voltage Shutdown Low Side Interrupt
PWMIN
PWMLSx
active clamp LSx
MOD1:2
on/off
Low Side Driver
(active clamp) Open-load Detection Current Limitation Over-temperture Shutdown (interrupt maskable) High-voltage shutdown (maskable) PGND
LSx
Control
LSxOP LSxCL
Status
Figure 18. Low Side Drivers LS1 and LS2 Open Load Detection Each low side driver signals an open load condition if the current through the low side is below the open load current threshold. The open load condition is indicated with the bit LS1OP and LS2OP in the Low Side Status Register (LSSR). Current Limitation Each low side driver has a current limitation. In combination with the over-temperature shutdown the low side drivers are protected against over-current and shortcircuit failures. When the drivers operate in current limitation, this is indicated with the bits LS1CL and LS2CL in the LSSR. Note: If the drivers are operating in current limitation mode excessive power might be dissipated. Over-temperature Protection (LS Interrupt) Both low side drivers are protected against overtemperature. In case of an over-temperature condition both low side drivers are shut down and the event is latched in the Interrupt Control Module. The shutdown is indicated as an LS Interrupt in the Interrupt Source Register (ISR). If the bit LSM is set in the Interrupt Mask Register (IMR) than an Interrupt (IRQ) is generated. A write to the Low Side Control Register (LSCR), when the over-temperature condition is gone, will re-enable the low side drivers. High-voltage Shutdown In case of a high-voltage condition and if the high-voltage shutdown is enabed (bit HVSE in the Mode Control Register (MCR) is set) both low sides drivers are shut down. A write to the Low Side Control Register (LSCR), when the high-voltage condition is gone, will re-enable the low side drivers. Sleep And Stop Mode The low side drivers are disabled in Sleep and Stop Mode. Also see Table 5, Operating Modes Overview.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
31
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
LIN PHYSICAL LAYER
The LIN bus pin provides a physical layer for single-wire communication in automotive applications. The LIN physical layer is designed to meet the LIN physical layer specification and has the following features: * LIN physical layer 2.0 compliant * Slew rate selection * Over-current shutdown * Over-temperature shutdown * LIN pull-up disable in Stop and Sleep Modes * Advanced diagnostics * LIN dominant voltage level selection
The LIN driver is a low side MOSFET with over-current and thermal shutdown. An internal pull-up resistor with a serial diode structure is integrated, so no external pull-up components are required for the application in a slave node. The fall time from dominant to recessive and the rise time from recessive to dominant is controlled. The symmetry between both slopes is guaranteed. LIN Pin The LIN pin offers a high susceptibility immunity level from external disturbance, guaranteeing communication during external disturbance.
INTERRUPT CONTROL MODULE
WAKE-UP MODULE
High-voltage Shutdown
High Side Interrupt
LIN Wake-up
MOD1:2 LSR0:1 LINPE LDVS RXONLY RXSHORT TXDOM LINOT LINOC 30K LIN TXD SLOPE CONTROL WAKE-UP FILTER RXD RECEIVER LGND VS1
LIN - DRIVER
Slope and Slew Rate Control Over-current Shutdown (interrupt maskable) Over-temperature Shutdown (interrupt maskable)
Figure 19. LIN Interface Slew Rate Selection The slew rate can be selected for optimized operation at 10.4 and 20kBit/s as well as a fast baud rate for test and programming. The slew rate can be adapted with the bits LSR1:0 in the LIN Control Register (LINCR). The initial slew rate is optimized for 20kBit/s. LIN Pull-up Disable In Stop And Sleep Modes In cases of a LIN bus short to GND or LIN bus leakage during low-power mode, the internal pull-up resistor on the LIN pin can be disconnected by clearing the LINPE bit in the Mode Control Register (MCR). The LINPE bit also changes the Bus wake-up threshold (VBUSWU). This feature will reduce the current consumption in STOP and SLEEP Modes. It also improves performance and safe operation.
33912
32
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATIONS OPERATIONAL MODES
Current Limit (LIN Interrupt) The output low side FET is protected against over-current conditions. In case of an over-current condition (e.g. LIN bus short to VBAT), the transmitter will not be shut down. The bit LINOC in the LIN Status Register (LINSR) is set. If the LINM bit is set in the Interrupt Mask Register (IMR), an Interrupt IRQ will be generated. Over-temperature Shutdown (LIN Interrupt) The output low side FET is protected against overtemperature conditions. In case of an over-temperature condition, the transmitter will be shut down and the LINOT bit in the LIN Status Register (LINSR) is set. If the LINM bit is set in the Interrupt Mask Register (IMR), an Interrupt IRQ will be generated. The transmitter is automatically re-enabled once the condition is gone and TXD is high. A read of the LIN Status Register (LINSR) with the TXD pin high, will re-enable the transmitter. RXD Short-circuit Detection (LIN Interrupt) The LIN transceiver has a short-circuit detection for the RXD output pin. In case of an short-circuit condition, either 5V or Ground, the RXSHORT bit in the LIN Status Register (LINSR) is set and the transmitter is shut down. If the LINM bit is set in the Interrupt Mask Register (IMR), an Interrupt IRQ will be generated. The transmitter is automatically re-enabled once the condition is gone (transition on RXD) and TXD is high. A read of the LIN Status Register (LINSR) without the RXD pin short-circuit condition will clear the bit RXSHORT. TXD Dominant Detection (LIN Interrupt) The LIN transceiver monitors the TXD input pin to detect a stuck in dominant (0V) condition. In case of a stuck condition (TXD pin 0V for more than 1 second (typ.)), the transmitter is shut down and the TXDOM bit in the LIN Status Register (LINSR) is set. If the LINM bit is set in the IMR, an Interrupt IRQ will be generated.
The transmitter is automatically re-enabled once TXD is high. A read of the LIN Status Register (LINSR) with the TXD pin at 5V will clear the bit TXDOM. LIN Dominant Voltage Level Selection The LIN dominant voltage level can be selected by the bit LDVS in the LIN Control Register (LINCR). LIN Receiver Operation Only While in Normal Mode, the activation of the RXONLY bit disables the LIN TXD driver. If case of a LIN error condition, this bit is automatically set. If a low-power mode is selected with this bit set, the LIN wake-up functionality is disabled, then in STOP Mode, the RXD pin will reflect the state of the LIN bus. STOP Mode And Wake-up Feature During Stop Mode operation, the transmitter of the physical layer is disabled. If the LIN-PU bit was set in the Stop Mode sequence, the internal pull-up resistor is disconnected from VSUP and a small current source keeps the LIN pin in the recessive state. The receiver is still active and able to detect wake-up events on the LIN bus line. A dominant level longer than TPROPWL followed by a rising edge will generate a wake-up interrupt, and will be reported in the Interrupt Source Register (ISR). Also see Figure 11, page 19. SLEEP Mode And Wake-up Feature During Sleep Mode operation, the transmitter of the physical layer is disabled. If the LIN-PU bit was set in the Sleep Mode sequence, the internal pull-up resistor is disconnected from VSUP and a small current source keeps the LIN pin in recessive state. The receiver must be active to detect wake-up events on the LIN bus line. A dominant level longer than TPROPWL followed by a rising edge will generate a system wake-up (Reset), and will be reported in the Interrupt Source Register (ISR). Also see Figure 10, page 19.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
33
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
LOGIC COMMANDS AND REGISTERS 33912 SPI INTERFACE AND CONFIGURATION
The serial peripheral interface creates the communication link between a microcontroller (master) and the 33912. The interface consists of four pins (see Figure 20): * CS -- Chip Select * MOSI -- Master-Out Slave-In * MISO -- Master-In Slave-Out * SCLK-- Serial Clock A complete data transfer via the SPI consists of 1 byte. The master sends 4 bits of address (A3:A0) + 4 bits of control information (C3:C0) and the slave replies with 4 system status bits (VMS,LINS,HSS,LSS) + 4 bits of status information (S3:S0).
CS
Register Write Data MOSI A3 A2 A1 A0 C3 C2 C1 C0
Register Read Data MISO VMS LINS HSS LSS S3 S2 S1 S0
SCLK Read Data Latch Write Data Latch
Rising Edge of SCLK Change MISO/MISO Output
Falling Edge of SCLK Sample MISO/MISO Input
Figure 20. SPI Protocol During the inactive phase of the CS (HIGH), the new data The rising edge of the Chip Select CS indicates the end of transfer is prepared. the transfer and latches the write data (MOSI) into the register. The CS high forces MISO to the high impedance The falling edge of the CS indicates the start of a new data state. transfer and puts the MISO in the low-impedance state and Register reset values are described along with the reset latches the analog status data (Register read data). condition. Reset condition is the condition causing the bit to With the rising edge of the SPI clock (SCLK), the data is be set to its reset value. The main reset conditions are: moved to MISO/MOSI pins. With the falling edge of the SPI - Power-On Reset (POR): the level at which the logic is clock (SCLK), the data is sampled by the receiver. reset and BATFAIL flag sets. The data transfer is only valid if exactly 8 sample clock - Reset Mode edges are present during the active (low) phase of CS. - Reset done by the RST pin (ext_reset)
33912
34
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
SPI REGISTER OVERVIEW
Table 6. System Status Register
BIT Adress(A3:A0) $0 - $F Register Name / Read / Write Information 7 SYSSR - System Status Register R VMS 6 LINS 5 HSS 4 LSS
Table 7 summarizes the SPI Register content for Control Information (C3:C0)=W and status information (S3:S0) = R. Table 7. SPI Register Overview
BIT Adress(A3:A0) Register Name / Read / Write Information 3 MCR - Mode Control Register $0 VSR - Voltage Status Register $1 $2 WUSR - Wake-Up Status Register $3 $4 LINSR - LIN Status Register $5 $6 HSSR - High Side Status Register $7 $8 LSSR - Low Side Status Register $9 LSSR - Low Side Status Register TIMCR - Timing Control Register $A WDSR - Watchdog Status Register $B $C $D $E ISR - Interrupt Source Register $F ISR - Interrupt Source Register R R ISR3 ISR3 ISR2 ISR2 ISR1 ISR1 ISR0 ISR0 WDSR - Watchdog Status Register AMUXCR - Analog Multiplexer Control Register CFR - Configuration Register IMR - Interrupt Mask Register R R W W W WDTO WDTO LXDS HVDD HSM R R W LS2OP LS2OP CS/WD CYST2 WDERR WDERR MX2 CYSX8 LSM CYST1 WDOFF WDOFF MX1 CSAZ LINM CYST0 WDWO WDWO MX0 CSGS VMM LS2CL LS2CL WD2 LS1OP LS1OP WD1 LS1CL LS1CL WD0 HSSR - High Side Status Register LSCR - Low Side Control Register R R W HS2OP HS2OP PWMLS2 HS2CL HS2CL PWMLS1 HS1OP HS1OP LS2 HS1CL HS1CL LS1 LINSR - LIN Status Register HSCR - High Side Control Register R R W RXSHORT RXSHORT PWMHS2 TXDOM TXDOM PWMHS1 LINOT LINOT HS2 LINOC LINOC HS1 WUSR - Wake-Up Status Register LINCR - LIN Control Register R R W L4 L4 LDVS L3 L3 RXONLY L2 L2 LSR1 L1 L1 LSR0 VSR - Voltage Status Register WUCR - Wake-Up Control Register R R W VSOV VSOV L4WE VSUV VSUV L3WE VDDOT VDDOT L2WE BATFAIL BATFAIL L1WE W HVSE 2 LINPE 1 MOD2 0 MOD1
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
35
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
REGISTER DEFINITIONS
System Status Register - SYSSR The System Status Register (SYSSR) is always transferred with every SPI transmission and gives a quick system status overview. It summarizes the status of the Voltage Status Register (VSR), LIN Status Register (LINSR), High Side Status Register (HSSR), and the Low Side Status Register (LSSR). Table 8. System Status Register
S7
Read VMS
HS1CL HS1OP HS2CL HS2OP HSS
Figure 23. High Side Status LSS - Low Side Switch Status
S6
LINS
S5
HSS
S4
LSS
This read-only bit indicates that one or more bits in the LSSR are set. 1 = Low Side Status bit set 0 = None
VMS - Voltage Monitor Status This read-only bit indicates that one or more bits in the VSR are set. 1 = Voltage Monitor bit set 0 = None
LS1CL LS1OP LS2CL LS2OP LSS
BATFAIL VDDOT VSUV VSOV Figure 21. Voltage Monitor Status LINS - LIN Status This read-only bit indicates that one or more bits in the LINSR are set. 1 = LIN Status bit set 0 = None
Write Reset Value Reset Condition
Figure 24. Low Side Status VMS Mode Control Register - MCR The Mode Control Register (MCR) allows switching between the operation modes and to configure the 33912. Writing the MCR will return the VSR. Table 9. Mode Control Register - $0
C3
HVSE 1
C2
LINPE 1
C1
MOD2 -
C0
MOD1 -
POR
POR
-
-
LINOC LINOT TXDOM RXSHORT Figure 22. LIN Status HSS - High Side Switch Status This read-only bit indicates that one or more bits in the HSSR are set. 1 = High Side Status bit set 0 = None LINPE - LIN pull-up enable. This write-only bit enables/disables the 30k LIN pull-up resistor in STOP and SLEEP Modes. This bit also controls the LIN bus wake-up threshold. 1 = LIN pull-up resistor enabled 0 = LIN pull-up resistor disabled LINS HVSE - High-Voltage Shutdown Enable This write-only bit enables/disables automatic shutdown of the high side and the low side drivers during a high-voltage VSOV condition. 1 = automatic shutdown enabled 0 = automatic shutdown disabled
33912
36
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
MOD2, MOD1 - Mode Control Bits These write-only bits select the operating mode and allow clearing the watchdog in accordance with Table 10 Mode Control Bits. Table 10. Mode Control Bits
MOD2 0 0 1 1 MOD1 0 1 0 1 Description Normal Mode Stop Mode Sleep Mode Normal Mode + Watchdog Clear
1 = POR Reset has occurred 0 = POR Reset has not occurred Wake-Up Control Register - WUCR This register is used to control the digital wake-up inputs. Writing the WUCR will return the Wake-Up Status Register (WUSR).
Table 12. Wake-Up Control Register - $2
C3
Write L4WE 1
C2
L3WE 1
C1
L2WE 1
C0
L1WE 1
Voltage Status Register - VSR Returns the status of the several voltage monitors. This register is also returned when writing to the Mode Control Register (MCR). Table 11. Voltage Status Register - $0/$1
S3
Read VSOV
Reset Value Reset Condition
POR, Reset Mode or ext_reset
S2
VSUV
S1
VDDOT
S0
BATFAIL
LxWE - Wake-up Input x Enable This write-only bit enables/disables which Lx inputs are enabled. In Stop and Sleep Mode the LxWE bit determines which wake inputs are active for wake-up. If one of the Lx inputs is selected on the analog multiplexer, the corresponding LxWE is masked to 0. 1 = Wake-Up Input x enabled. 0 = Wake-Up Input x disabled. Wake-Up Status Register - WUSR This register is used to monitor the digital wake-up inputs and is also returned when writing to the WUCR. Table 13. Wake-Up Status Register - $2/$3
S3
Read L4
VSOV - VSUP Over-Voltage This read-only bit indicates an over-voltage condition on the VS1 pin. 1 = Over-voltage condition. 0 = Normal condition. VSUV - VSUP Under-Voltage This read-only bit indicates an under-voltage condition on the VS1 pin. 1 = Under-voltage condition. 0 = Normal condition. VDDOT - Main Voltage Regulator Over-temperature Warning This read-only bit indicates that the main voltage regulator temperature reached the Over-temperature Prewarning Threshold. 1 = Over-temperature Prewarning 0 = Normal BATFAIL - Battery Fail Flag. This read-only bit is set during power-up and indicates that the 33912 had a Power-On-Reset (POR). Any access to the MCR or VSR will clear the BATFAIL flag.
S2
L3
S1
L2
S0
L1
Lx - Wake-up input x This read-only bit indicates the status of the corresponding Lx input. If the Lx input is not enabled, then the according Wake-Up status will return 0. After a wake-up from Stop or Sleep Mode these bits also allow to determine which input has caused the wake-up, by first reading the Interrupt Status Register (ISR) and then reading the WUSR. 1 = Lx Wake-up. 0 = Lx Wake-up disabled or selected as analog input.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
37
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
LIN Control Register - LINCR This register controls the LIN physical interface block. Writing the LIN Control Register (LINCR) returns the LIN Status Register (LINSR). Table 14. LIN Control Register - $4
C3
Write Reset Value LDVS 0
LIN Status Register - LINSR This register returns the status of the LIN physical interface block and is also returned when writing to the LINCR. Table 16. LIN Status Register - $4/$5
C2
RXONLY 0 POR, Reset Mode, ext_reset or LIN failure gone*
C1
LSR1 0
C0 S3
LSR0 Read 0 RXSHORT TXDOM LINOT LINOC
S2
S1
S0
RXSHORT - RXD Pin Short-Circuit
POR, Reset Mode or ext_reset POR
Reset Condition
* LIN failure gone: if LIN failure (overtemp, TXD/RXD short) was set, the flag resets automatically when the failure is gone.
LDVS - LIN Dominant Voltage Select This write-only bit controls the LIN Dominant voltage: 1 = LIN Dominant Voltage = VLIN_DOM_1 (1.7V typ) 0 = LIN Dominant Voltage = VLIN_DOM_0 (1.1V typ) RXONLY - LIN Receiver Operation Only This write-only bit controls the behavior of the LIN transmitter. In Normal Mode, the activation of the RXONLY bit disables the LIN transmitter. In case of a LIN error condition, this bit is automatically set. In Stop Mode this bit disables the LIN wake-up functionality, and the RXD pin will reflect the state of the LIN bus. 1 = only LIN receiver active (Normal Mode) or LIN wakeup disabled (Stop Mode). 0 = LIN fully enabled. LSRx - LIN Slew-Rate This write-only bit controls the LIN driver slew-rate in accordance with Table 15. Table 15. LIN Slew-Rate Control
LSR1 0 0 1 1 LSR0 0 1 0 1 Description Normal Slew Rate (up to 20kb/s) Slow Slew Rate (up to 10kb/s) Fast Slew Rate (up to 100kb/s) Reserved
This read-only bit indicates a short-circuit condition on the RXD pin (shorted either to 5.0V or to Ground). The shortcircuit delay must be a worst case of 8s to be detected and to shut down the driver. To clear this bit, it must be read after the condition is gone (transition detected on RXD pin). The LIN driver is automatically re-enabled once the condition is gone. 1 = RXD short-circuit condition. 0 = None. TXDOM - TXD Permanent Dominant This read-only bit signals the detection of a TXD pin stuck at dominant (Ground) condition and the resultant shutdown in the LIN transmitter. This condition is detected after the TXD pin remains in dominant state for more than 1 second (typical value). To clear this bit, it must be read after TXD has gone high. The LIN driver is automatically re-enabled once TXD goes High. 1 = TXD stuck at dominant fault detected. 0 = None. LINOT - LIN Driver Over-temperature Shutdown This read-only bit signals that the LIN transceiver was shutdown due to over-temperature. The transmitter is automatically re-enabled after the over-temperature condition is gone and TXD is high. The LINOT bit is cleared after SPI read once the condition is gone. 1 = LIN over-temperature shutdown 0 = None LINOC - LIN Driver Over-Current Shutdown This read-only bit signals an over-current condition occurred on the LIN pin. The LIN driver is not shut down but an IRQ is generated. To clear this bit, it must be read after the condition is gone. 1 = LIN over-current shutdown 0 = None
33912
38
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
High Side Control Register - HSCR This register controls the operation of the high side drivers. Writing to this register returns the High Side Status Register (HSSR). Table 17. High Side Control Register - $6
C3
Write Reset Value Reset Condition PWMHS2 0
Low Side Control Register - LSCR This register controls the operation of the low side drivers. Writing the Low Side Control Register (LSCR) will also return the Low Side Status Register (LSSR). Table 19. Low Side Control Register - $8
C3
Write Reset Value Reset Condition PWMLS2 0
C2
PWMHS1 0
C1
HS2 0
C0
HS1 0
C2
PWMLS1 0
C1
LS2 0
C0
LS1 0
POR
POR, Reset Mode, ext_reset, HSx over-temp or (VSOV & HVSE)
POR
POR, Reset Mode, ext_reset, LSx over-temp or (VSOV & HVSE)
PWMHSx - PWM Input Control Enable. This write-only bit enables/disables the PWMIN input pin to control the respective high side switch. The corresponding high side switch must be enabled (HSx bit). 1 = PWMIN input controls HSx output. 0 = HSx is controlled only by SPI. HSx - HSx Switch Control. This write-only bit enables/disables the corresponding high side switch. 1 = HSx switch on. 0 = HSx switch off. High Side Status Register - HSSR This register returns the status of the high side switches and is also returned when writing to the HSCR. Table 18. High Side Status Register - $6/$7
S3
Read HS2OP
PWMLx - PWM input control enable. This write-only bit enables/disables the PWMIN input pin to control the respective low side switch. The corresponding low side switch must be enabled (LSx bit). 1 = PWMIN input controls LSx. 0 = LSx is controlled only by SPI. LSx - LSx switch control. This write-only bit enables/disables the corresponding low side switch. 1 = LSx switch on. 0 = LSx switch off. Low Side Status Register - LSSR This register returns the status of the low side switches and is also returned when writing to the LSCR. Table 20. Low Side Status Register - $8/$9
C3
Read LS2OP
S2
HS2CL
S1
HS1OP
S0
HS1CL
C2
LS2CL
C1
LS1OP
C0
LS1CL
High Side thermal shutdown A thermal shutdown of the high side drivers is indicated by setting all HSxOP and HSxCL bits simultaneously. HSxOP - High Side Switch Open-Load Detection This read-only bit signals that the high side switches are conducting current below a certain threshold indicating possible load disconnection. 1 = HSx Open Load detected (or thermal shutdown) 0 = Normal HSxCL - High Side Current Limitation This read-only bit indicates that the respective high side switch is operating in current limitation mode. 1 = HSx in current limitation (or thermal shutdown) 0 = Normal
Low Side thermal shutdown A thermal shutdown of the low side drivers is indicated by setting all LSxOP and LSxCL bits simultaneously. LSxOP - Low Side Switch Open-Load Detection This read-only bit signals that the low side switches are conducting current below a certain threshold indicating possible load disconnection. 1 = LSx Open Load detected (or thermal shutdown) 0 = Normal LSxCL - Low Side Current Limitation This read-only bit indicates that the respective low side switch is operating in current limitation mode. 1 = LSx in current limitation (or thermal shutdown) 0 = Normal
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
39
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
Timing Control Register - TIMCR This register is a double purpose register which allows to configure the watchdog and the cyclic sense periods. Writing to the Timing Control Register (TIMCR) will also return the Watchdog Status Register (WDSR). Table 21. Timing Control Register - $A
C3 C2
WD2 Write CS/WD CYST2 Reset Value Reset Condition 0 CYST1 0 CYST0 0
This option is only active if one of the high side switches is enabled when entering in Stop or Sleep Mode. Otherwise a timed wake-up is performed after the period shown in Table 23. Table 23. Cyclic Sense Interval
CYSX8(60) CYST2 0 0 0 0 1 1 1 1 0 0 0 1 1 1 1 CYST1 0 0 1 1 0 0 1 1 0 1 1 0 0 1 1 CYST0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 Interval No cyclic sense 20ms 40ms 60ms 80ms 100ms 120ms 140ms 160ms 320ms 480ms 640ms 800ms 960ms 1120ms X 0
C1
WD1
C0
WD0
0 0 0 0 0 0 1 1 1 1 1 1
-
POR
CS/WD - Cyclic Sense or Watchdog prescaler select This write-only bit selects which prescaler is being written to, the Cyclic Sense prescaler or the Watchdog prescaler. 1 = Cyclic Sense Prescaler selected 0 = Watchdog Prescaler select WDx - Watchdog Prescaler This write-only bits selects the divider for the watchdog prescaler and therefore selects the watchdog period in accordance with Table 22. This configuration is valid only if windowing watchdog is active. Table 22. watchdog Prescaler
WD2 0 0 0 0 1 1 1 1 WD1 0 0 1 1 0 0 1 1 WD0 0 1 0 1 0 1 0 1 Prescaler Divider 1 2 4 6 8 10 12 14
1
Notes 60. bit CYSX8 is located in Configuration Register (CFR)
Watchdog Status Register - WDSR This register returns the Watchdog status information and is also returned when writing to the TIMCR. Table 24. Watchdog Status Register - $A/$B
S3
Read WDTO
S2
WDERR
S1
WDOFF
S0
WDWO
WDTO - Watchdog Timeout This read-only bit signals the last reset was caused by either a watchdog timeout or by an attempt to clear the Watchdog within the window closed. Any access to this register or the Timing Control Register (TIMCR) will clear the WDTO bit. 1 = Last reset caused by watchdog timeout 0 = None
CYSTx - Cyclic Sense Period Prescaler Select This write-only bits selects the interval for the wake-up cyclic sensing together with the bit CYSX8 in the Configuration Register (CFR) (see page 41).
33912
40
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
WDERR - Watchdog Error This read-only bit signals the detection of a missing watchdog resistor. In this condition the watchdog is using the internal, lower precision timebase. The Windowing function is disabled. 1 = WDCONF pin resistor missing 0 = WDCONF pin resistor not floating WDOFF - Watchdog Off This read-only bit signals that the watchdog pin connected to Ground and therefore disabled. In this case watchdog timeouts are disabled and the device automatically enters Normal Mode out of Reset. This might be necessary for software debugging and for programming the Flash memory. 1 = Watchdog is disabled 0 = Watchdog is enabled WDWO - Watchdog Window Open This read-only bit signals when the watchdog window is open for clears. The purpose of this bit is for testing. Should be ignored in case WDERR is High. 1 = Watchdog window open 0 = Watchdog window closed Analog Multiplexer Control Register - MUXCR This register controls the analog multiplexer and selects the divider ration for the Lx input divider. Table 25. Analog Multiplexer Control Register -$C
C3
Write Reset Value Reset Condition LXDS 1
Table 26. Analog Multiplexer Channel Select
MX2 0 0 0 0 1 1 1 1 MX1 0 0 1 1 0 0 1 1 MX0 0 1 0 1 0 1 0 1 Meaning Disabled Reserved Die Temperature Sensor VSENSE input L1 input L2 input L3 input L4 input
Configuration Register - CFR This register controls the Hall Sensor Supply enable/ disable, the cyclic sense timing multiplier, enables/disables the Current Sense Auto-zero function and selects the gain for the current sense amplifier. Table 27. Configuration Register - $D
C3
Write Reset Value Reset Condition HVDD 0 POR, Reset Mode or ext_reset
C2
CYSX8 0
C1
CSAZ 0
C0
CSGS 0
POR
POR
POR
HVDD - Hall Sensor Supply Enable This write-only bit enables/disables the state of the hall sensor supply. 1 = HVDD on 0 = HVDD off CYSX8 - Cyclic Sense Timing x 8. This write-only bit influences the cyclic sense period as shown in Table 23. 1 = Multiplier enabled 0 = None CSAZ - Current Sense Auto-Zero Function Enable This write-only bit enables/disables the circuitry to lower the offset voltage of the current sense amplifier. 1 = Auto-zero function enabled 0 = Auto-zero function disabled CSGS - Current Sense Amplifier Gain Select This write-only bit selects the gain of the current sense amplifier. 1 = 14.5 (typ.) 0 = 30 (typ.)
C2
MX2 0
C1
MX1 0
C0
MX0 0
POR
POR, Reset Mode or ext_reset
LXDS - Lx Analog Input Divider Select This write-only bit selects the resistor divider for the Lx analog inputs. Voltage is internally clamped to VDD. 0 = Lx Analog divider: 1 1 = Lx Analog divider: 3.6 (typ.) MXx - Analog Multiplexer Input Select These write-only bits selects which analog input is multiplexed to the ADOUT0 pin according to Table 26. When disabled or when in Stop or Sleep Mode, the output buffer is not powered and the ADOUT0 output is left floating to achieve lower current consumption.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
41
FUNCTIONAL DEVICE OPERATIONS LOGIC COMMANDS AND REGISTERS
Interrupt Mask Register - IMR This register allows masking of some of the interrupt sources. The respective flags within the Interrupt Source Register (ISR) will continue to work but will not generate interrupts to the MCU. The 5V Regulator over-temperature prewarning interrupt and Under-Voltage (VSUV) interrupts can not be masked and will always cause an interrupt. Writing to the IMR will return the ISR. Table 28. Interrupt Mask Register - $E
C3
Write Reset Value Reset Condition HSM 1
LINM - LIN Interrupts Mask This write-only bit enables/disables interrupts generated in the LIN block. 1 = LIN Interrupts Enabled 0 = LIN Interrupts Disabled VMM - Voltage Monitor Interrupt Mask This write-only bit enables/disables interrupts generated in the Voltage Monitor block. The only maskable interrupt in the Voltage Monitor Block is the VSUP over-voltage interrupt. 1 = Interrupts Enabled 0 = Interrupts Disabled Interrupt Source Register - ISR This register allows the MCU to determine the source of the last interrupt or wake-up respectively. A read of the register acknowledges the interrupt and leads IRQ pin to high, in case there are no other pending interrupts. If there are pending interrupts, IRQ will be driven high for 10s and then be driven low again. This register is also returned when writing to the Interrupt Mask Register (IMR). Table 29. Interrupt Source Register - $E/$F
S3
Read ISR3
C2
LSM 1
C1
LINM 1
C0
VMM 1
POR
HSM - High Side Interrupt Mask This write-only bit enables/disables interrupts generated in the high side block. 1 = HS Interrupts Enabled 0 = HS Interrupts Disabled LSM - Low Side Interrupt Mask This write-only bit enables/disables interrupts generated in the low side block. 1 = LS Interrupts Enabled 0 = LS Interrupts Disabled
S2
ISR2
S1
ISR1
S0
ISR0
ISRx - Interrupt Source Register These read-only bits indicate the interrupt source following Table 30. If no interrupt is pending then all bits are 0. In case more than one interrupt is pending, the interrupt sources are handled sequentially multiplex.
Table 30. Interrupt Sources
Interrupt Source ISR3 ISR2 ISR1 ISR0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 Voltage Monitor Interrupt (Low Voltage and VDD over-temperature) none maskable no interrupt maskable no interrupt Lx Wake-up from Stop ModeHS Interrupt (Over-temperature) LS Interrupt (Over-temperature) LIN Interrupt (RXSHORT, TXDOM, LIN OT, LIN OC) or LIN Wake-up Voltage Monitor Interrupt (High Voltage) Forced Wake-up lowest none highest Priority
33912
42
Analog Integrated Circuit Device Data Freescale Semiconductor
TYPICAL APPLICATION LOGIC COMMANDS AND REGISTERS
TYPICAL APPLICATION
The 33912 can be configured in several applications. The figure below shows the 33912 in the typical Slave Node Application.
V D1
BAT
VS1
VS2
C2
C1
VDD
Internal Bus
IRQ C4 C3
Interrupt Control Module LVI, HVI, HTI, OCI
Voltage Regulator
C5
AGND
5V Output Module
HVDD
Hall Sensor Supply
VDD RST IRQ
Reset Control Module LVR, HVR, HTR, WD, Low Side Control Module
LS1
HB Type Relay
LS2
RST TIMER PWMIN
Window Watchdog Module High Side Control Module
PGND
Motor Output HS1
R1
MISO MOSI SPI SCLK CS
SPI & CONTROL
HS2
Chip Temp Sense Module
Analog Multiplexer
VBAT Sense Module
VSENSE
MCU
R2 L1
Analog Input Module
A/D
ADOUT0
Wake Up Module
L2 R4 L3
Digital Input Module
R3
Analog Input R5 Analog Input
L4 RXD SCI TXD ISENSEH
Current Sense Module LIN Physical Layer
LIN C6 R6 ISENSEL
LIN
A/D
ADOUT1
R7
WDCONF
PGND
AGND
LGND
Typical Component Values: C1 = 47F; C2 = C4 = 100nF; C3 = 10F; C5 = 4.7F; C6 = 220pF R1 = 10k; R2 = R3 = 10k; R4 = R5 = 33k; R6 = 20; R7 = 20k-200k Recommended Configuration of the not Connected Pins (NC): Pin 28 = this pin is not internally connected and may be used for PCB routing optimization.
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
43
PACKAGING PACKAGE DIMENSIONS
PACKAGING
PACKAGE DIMENSIONS
Important For the most current revision of the package, visit www.Freescale.com and select Documentation, then under Available Documentation column select Packaging Information.
AC SUFFIX (PB-FREE) 32-PIN LQFP 98ASH70029A REVISION D
33912
44
Analog Integrated Circuit Device Data Freescale Semiconductor
IMPORTANT FOR THE MOST CURRENT REVISION OF THE PACKAGE, VISIT WWW.FREESCALE.COM AND SELECT DOCUMENTATION,
PACKAGE DIMENSIONS (Continued)
AC SUFFIX (PB-FREE) 32-PIN LQFP 98ASH70029A REVISION D
33912
Analog Integrated Circuit Device Data Freescale Semiconductor
45
REVISION HISTORY PACKAGE DIMENSIONS (CONTINUED)
REVISION HISTORY
Revision 1.0 2.0
Date 5/2007 9/2007
Description of Changes * * * * * * * * Initial Release Several textual corrections Page 11: "Analog Output offset Ratio" (LXDS=1) changed to "Analog Output offset" +/-22mV Page 11: VSENSE Input Divider Ratio adjusted to 5,0/5,25/5,5 Page 12: Common mode input impedance corrected to 75k Page 13/15: LIN PHYSICAL LAYER parameters adjusted to final LIN specification release Revision number incremented at engineering request. Changed Functional Block Diagram on page 24.
3.0 4.0
9/2007 2/2008
33912
46
Analog Integrated Circuit Device Data Freescale Semiconductor
How to Reach Us:
Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 +1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com
Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals", must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. FreescaleTM and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. (c) Freescale Semiconductor, Inc., 2007. All rights reserved.
MC33912 Rev. 4.0 2/2008


▲Up To Search▲   

 
Price & Availability of MC33912BAC

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X